<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
<title> InspectTutorial &lt; Mundo &lt; Foswiki</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="icon" href="/foswiki/pub/System/ProjectLogos/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="/foswiki/pub/System/ProjectLogos/favicon.ico" type="image/x-icon" />
<link rel="alternate" href="http://127.0.0.1/foswiki/bin/edit/Mundo/InspectTutorial?t=1295995544" type="application/x-wiki" title="edit InspectTutorial" />
<meta name="TEXT_NUM_TOPICS" content="Number of topics:" />
<meta name="TEXT_MODIFY_SEARCH" content="Modify search" />
<meta name="robots" content="noindex" /><link rel="alternate" type="application/rss+xml" title="RSS Feed" href="/foswiki/bin/view/Mundo/WebRss" />
<style type="text/css" media="all">
@import url('style/base.css');
</style>
<style type="text/css" media="all">
@import url('style/layout.css');
@import url('style/style.css');
@import url('style/colors.css');
</style>
<style type="text/css" media="all">
@import url('style/column_left.css');
@import url('style/variant_foswiki_noframe.css');
</style><style type="text/css" media="all">
	/* Styles that are set using variables */
	.patternBookView .foswikiTopRow,
	.patternWebIndicator a img,
	.patternWebIndicator a:hover img {
		background-color:#efefef;
	}
	#patternTopBarContents { background-image:url(/foswiki/pub/System/PatternSkin/header5.gif); background-repeat:repeat-x;}
#patternTopBarContents { background-color:#ffffff;}
.patternBookView {
	border-color:#efefef;
}
.patternPreviewPage #patternMain {
	/* uncomment to set the preview image */
	/*background-image:url("/foswiki/pub/System/PreviewBackground/preview2bg.gif");*/
}
</style>
<style type="text/css" media="all">
@import url('style/print.css');
</style>
<!--[if IE]><style type="text/css" media="screen">
pre {
	height:1%;
	overflow-x:auto;
}
.foswikiAttachments,
.foswikiForm,
.foswikiHelp,
.foswikiPreviewArea,
.patternPreviewPage .foswikiForm,
.patternSigLine,
.patternToolBar,
.patternTop,
.patternTopicAction,
#patternSideBarContents .patternLeftBarPersonal,
#patternSideBarContents h2,
#patternSideBarContents li,
#patternTopBarButtons ul {
	height:1%;
}
#patternSideBarContents .patternLeftBarPersonal {
	width:100%;
}
.foswikiFormStep {
	height:100%;
}
#foswikiLogin,
.patternShadow {
	border:10px solid #fff;
	margin-top:10px;
	margin-bottom:10px;
	border:2px solid #ccc;
}
</style><![endif]-->
<!--[if gt IE 8 ]><style type="text/css" media="screen">
#foswikiLogin,
.patternShadow {
	border:10px solid #fff;
	margin-top:10px;
	margin-bottom:10px;
	box-shadow: 0 0 10px #ccc;
}
</style><![endif]-->
<meta name="foswiki.TWISTYANIMATIONSPEED" content="fast" /><!--TWISTYPLUGIN::META-->
<style type="text/css" media="all">
.foswikiTable {border-width:1px}
.foswikiTable .tableSortIcon img {padding-left:.3em; vertical-align:text-bottom}
.foswikiTable td {border-style:solid none; vertical-align:top}
.foswikiTable th {border-style:none solid; vertical-align:top; background-color:#d6d3cf; color:#000000}
.foswikiTable th a:link {color:#000000}
.foswikiTable th a:visited {color:#000000}
.foswikiTable th a:hover {color:#000000; background-color:#d6d3cf}
.foswikiTable th.foswikiSortedCol {background-color:#c4c1ba}
.foswikiTable tr.foswikiTableRowdataBg0 td {background-color:#ffffff}
.foswikiTable tr.foswikiTableRowdataBg0 td.foswikiSortedCol {background-color:#f7f7f6}
.foswikiTable tr.foswikiTableRowdataBg1 td {background-color:#f7f7f6}
.foswikiTable tr.foswikiTableRowdataBg1 td.foswikiSortedCol {background-color:#f0f0ee}
</style><!--TABLEPLUGIN_default-->
<style type="text/css" media="all">
.foswikiTable#tableInspectTutorial1 td {border-style:solid none; vertical-align:middle; vertical-align:top}
.foswikiTable#tableInspectTutorial1 td.foswikiTableCol0 {text-align:center}
.foswikiTable#tableInspectTutorial1 td.foswikiTableCol1 {text-align:left}
.foswikiTable#tableInspectTutorial1 td.foswikiTableCol2 {text-align:left}
.foswikiTable#tableInspectTutorial1 td.foswikiTableCol3 {text-align:right}
.foswikiTable#tableInspectTutorial1 td.foswikiTableCol4 {text-align:left}
.foswikiTable#tableInspectTutorial1 td.foswikiTableCol5 {text-align:left}
.foswikiTable#tableInspectTutorial1 td.foswikiTableCol6 {text-align:left}
.foswikiTable#tableInspectTutorial1 td.foswikiTableCol7 {text-align:center}
.foswikiTable#tableInspectTutorial1 th {border-style:solid none; vertical-align:middle; background-color:#ffffff; color:#0066cc}
.foswikiTable#tableInspectTutorial1 th a:link {color:#0066cc}
.foswikiTable#tableInspectTutorial1 th a:visited {color:#0066cc}
.foswikiTable#tableInspectTutorial1 th a:hover {color:#0066cc; background-color:#ffffff}
.foswikiTable#tableInspectTutorial1 th.foswikiSortedCol {background-color:#eeeeee}
.foswikiTable#tableInspectTutorial1 tr.foswikiTableRowdataBg0 td {background-color:#ffffff}
.foswikiTable#tableInspectTutorial1 tr.foswikiTableRowdataBg0 td.foswikiSortedCol {background-color:#f5f5f5}
</style><!--TABLEPLUGIN_specific-->
<meta name="foswiki.PUBURL" content="http://127.0.0.1/foswiki/pub" /> <!-- PUBURL -->
<meta name="foswiki.PUBURLPATH" content="/foswiki/pub" /> <!-- PUBURLPATH -->
<meta name="foswiki.SCRIPTSUFFIX" content="" /> <!-- SCRIPTSUFFIX -->
<meta name="foswiki.SCRIPTURL" content="http://127.0.0.1/foswiki/bin" /> <!-- SCRIPTURL -->
<meta name="foswiki.SCRIPTURLPATH" content="/foswiki/bin" /> <!-- SCRIPTURLPATH -->
<meta name="foswiki.SERVERTIME" content="25%20Jan%202011%20-%2023:45" /> <!-- SERVERTIME -->
<meta name="foswiki.SKIN" content="pattern" /> <!-- SKIN -->
<meta name="foswiki.SYSTEMWEB" content="System" /> <!-- SYSTEMWEB -->
<meta name="foswiki.TOPIC" content="InspectTutorial" /> <!-- TOPIC -->
<meta name="foswiki.USERNAME" content="guest" /> <!-- USERNAME -->
<meta name="foswiki.USERSWEB" content="Main" /> <!-- USERSWEB -->
<meta name="foswiki.WEB" content="Mundo" /> <!-- WEB -->
<meta name="foswiki.WIKINAME" content="WikiGuest" /> <!-- WIKINAME -->
<meta name="foswiki.WIKIUSERNAME" content="Main.WikiGuest" /> <!-- WIKIUSERNAME -->
<meta name="foswiki.NAMEFILTER" content="%5b%5cs%5c*%3f~%5e%5c%24%40%25%60%22'%26%3b%7c%3c%3e%5c%5b%5c%5d%23%5cx00-%5cx1f%5d" /> <!-- NAMEFILTER --><!--JQUERYPLUGIN::FOSWIKI::META-->
<link rel='stylesheet' href='/foswiki/pub/System/TwistyPlugin/jquery.twisty.css?version=1.6.0' type='text/css' media='all' /><!--JQUERYPLUGIN::TWISTY: requires= missing ids: JavascriptFiles/foswikiPref-->
</head>
<body class="patternViewPage patternPrintPage">
<a name="PageTop"></a><div class="foswikiPage"><div id="patternScreen">
<div id="patternPageShadow">
<div id="patternPage">
<div id="patternOuter">
<div id="patternFloatWrap">
<div id="patternMain">
<div id="patternMainContents">
<div class="patternContent"><div class="foswikiTopic"> <h1><a name="Inspect"></a>  Inspect </h1>
<p />
Inspect is a tool with a graphical user interface to monitor and manage local or remote MundoCore nodes. It can be started as follows:
<p />
<pre>java -jar tools/inspect.jar</pre>
<p />
<h2><a name="Using_Inspect"></a>  Using Inspect </h2>
<p />
The <em>connections</em> view lists all adjacent nodes, to which Inspect has a direct communication link to. When two instances of <code>RMCChat</code> are running beside Inspect, the <em>connections</em> view will appear as follows:
<p />
<img alt="inspect-conn.png" height="400" src="images/inspect-conn.png" width="640" />
<p />
In this view, we can select an entry and click <code>Open</code>. An additional subtree appears in the left pane, which allows us to access various information about one of the <code>RMCChat</code> nodes. Selecting <em>Service Instances</em> gives a list of the services running on the remote node. The list contains several core services and the main service of <code>RMCChat</code>:
<p />
<img alt="inspect-services.png" height="400" src="images/inspect-services.png" width="640" />
<p />
The service <code>ChatService</code> can now be selected to access detailed information about this service:
<p />
<img alt="inspect-service.png" height="400" src="images/inspect-service.png" width="640" />
<p />
This view shows detail information about the service and its <em>publishers</em> and <em>subscribers</em>. To monitor the messages exchanged over a channel, we can select a channel in the list and then click <em>Open Channel</em>. Now, when a message is typed into an instance of <code>RMCChat</code>, this produces the following output:
<p />
<img alt="inspect-channel.png" height="400" src="images/inspect-channel.png" width="641" />
<p />
Messages in MundoCore consist of multiple chunks. The first chunk is always structured (here: XML). The other chunks may be structured as well or in binary format.
<p />
</div></div><!-- /patternContent-->
</div></div></div></div></div></div></div></div>
</body></html>
